package cn.tedu.hospital.admin.server.freebased.pojo.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;

@Data
@TableName("freebased_information")
public class FreeBased {
    @TableId(type = IdType.AUTO)
    private  Integer id;//数据Id
    private String  freebasedId;//病人ID
    private String dept;//科室
    private  String bedId;//床号
    private  String name;//姓名
    private  Integer age;//年龄
    private  String disease;//病症
    private  String doctor;//医生
    private Date admissionTime;//入院时间
    private Date dischargeTime;//出院时间
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime gmtCreate;//创建时间
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime gmtModified;//最后更新时间
}
